package com.lch.designpattern.prototype.work;

/**
 * @author: liuchenhui
 * @create: 2019-04-21 13:25
 **/
public class Client {
    public static void main(String[] args) {
        Paper p = new Paper();
        p.setScore(11);
        p.setName("chenhui");
        p.setNumber("20190912");

        Paper p2 = p.clone();
        System.out.println(p == p2);
        System.out.println(p.getName() == p2.getName());
    }
}
